﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FPC.Offer.Repository
{
    public class System_SendMessageTablerepository : BaseRepository<Model.Message_SendMessage>, IRepository.ISystem_SendMessageTablerepository
    {
        public int or_deletes(string ReceiveId)
        {

            string sql = string.Format("delete Message_SendMessage where MessageId in ({0})", ReceiveId);
            //  DbContext.ExecuteStoreQuery<Model.Police_OrganizeTalbe>(sql).ToList();//TableAObject就是你定义的对象，对象属性就是columnA, columnB

            return DbContext.Database.ExecuteSqlCommand(sql);

        }

    }
}
